package com.eclink.iot.rfidclient.listener;

import com.eclink.iot.rfidclient.manager.RFIDManager;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class ApplicationListener {

    @EventListener
    public void onApplicationEvent(ApplicationReadyEvent event) {
        RFIDManager.init();
    }

}
